package br.com.myps3t;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class Trophy {

	private String gameId;
	private String gameName;
	private String gameIcoURL;
	private Bitmap gameIco;

	private String nameTrophy;
	private String descriptionTrophy;

	private String imageURLLow;
	private String imageURLHigh;

	private Bitmap imageLow;
	private Bitmap imageHigh;

	private TrophyType typeTrophy = TrophyType.HIDDEN;

	public String getGameId() {
		return gameId;
	}

	public void setGameId(String gameId) {
		this.gameId = gameId;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public String getGameIcoURL() {
		return gameIcoURL;
	}

	public void setGameIcoURL(String gameIcoURL) {
		this.gameIcoURL = gameIcoURL;
	}

	public void setGameIco(Bitmap gameIco) {
		this.gameIco = gameIco;
	}

	public Bitmap getGameIco() {
		return gameIco;
	}

	public String getNameTrophy() {
		return nameTrophy;
	}

	public void setNameTrophy(String nameTrophy) {
		this.nameTrophy = nameTrophy;
	}

	public void setDescriptionTrophy(String descriptionTrophy) {
		this.descriptionTrophy = descriptionTrophy;
	}

	public String getDescriptionTrophy() {
		return descriptionTrophy;
	}

	public String getImageURLLow() {
		return imageURLLow;
	}

	public void setImageURLLow(String imageURLLow) {
		this.imageURLLow = imageURLLow;
	}

	public String getImageURLHigh() {
		return imageURLHigh;
	}

	public void setImageURLHigh(String imageURLHigh) {
		this.imageURLHigh = imageURLHigh;
	}

	public Bitmap getImageLow() {
		return imageLow;
	}

	public void setImageLow(Bitmap imageLow) {
		if ( imageLow == null )
			this.imageLow = BitmapFactory.decodeResource(ActivityMyPS3T.getContext().getResources(), R.drawable.trophy_no_image);
		else
			this.imageLow = imageLow;
	}

	public Bitmap getImageHigh() {
		return imageHigh;
	}

	public void setImageHigh(Bitmap imageHigh) {
		if ( imageHigh == null )
			this.imageHigh = BitmapFactory.decodeResource(ActivityMyPS3T.getContext().getResources(), R.drawable.trophy_no_image);
		else
			this.imageHigh = imageHigh;
	}

	public TrophyType getTypeTrophy() {
		return typeTrophy;
	}

	public void setTypeTrophy(TrophyType typeTrophy) {
		this.typeTrophy = typeTrophy;
	}

}
